<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@page import="com.fit.user.dao.CaseMsgDAO"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'manager.jsp' starting page</title>
    <script language="JavaScript" src="dateselect.js"  charset="utf-8"></script>
            <%
    String caseID = (String)session.getAttribute("caseID");
    CaseMsgDAO caseMsgDAO = new CaseMsgDAO();
    String caseLocation = caseMsgDAO.getCaseMsgByCaseID(caseID).getCaseLocation(); 
     %>

  </head>
  
  <body>
 <form action="<%=basePath %>//houwenMsg.do?oper=submitHouWenMsg" method="post" onsubmit="return check_add()">
       <table> <tr><td><input type="button" id="btkaishi" value="开始" onclick="gettime('begintime')"></td></tr></table>
 <div id="divrsjc">
  
  
  <table class="table_boder"  width="60%">
    <tr><Td colspan="2">    备案编号：<%=session.getAttribute("caseID") %>
  </Td></tr>
  
  <tr>
   <td  align="right" >时间：</td><td colspan="3"><input type="text"  id="begintime" name="houWenMsgEntity.beginTime" ></td>
      <td  align="left" >到</td><td colspan="3"><input type="text"  id="endtime"name="houWenMsgEntity.endTime" ></td>
      
  
  </tr>
  
  <tr>
 
  
   <td align="right">地点：<input type="hidden" name="houWenMsgEntity.sectionName" value="<%=session.getAttribute("caseID") %>"></td><td><input type="text" name="houWenMsgEntity.Address"  value="<%=caseLocation %>"></td>
  </tr>
  <tr>
  <td align="right">看管人：</td><td><input type="text" id="xwrid"name="houWenMsgEntity.kanGuanRen" ></td>
   <td align="right">侯问人：</td><td><input type="text" id="jlrid" name="houWenMsgEntity.houWenRen" ></td>
  </tr>
  <tr>
   <td align="right">性别：</td><td><input type="text" name="houWenMsgEntity.sex" ></td>
  </tr>
  <tr>
  <td align="right">生日：</td><td><input type="text" style='width:200px' readonly="readonly" name="houWenMsgEntity.birthDay" onfocus="HS_setDate(this)" ></td>
   <td align="right">家庭住址：</td><td><input type="text" name="houWenMsgEntity.address" ></td>
  </tr>
   <tr>
      <td colspan="4" align="center"><input type="submit" value="提交">
      &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
      <input type="button" name="cancel" value="重置"></td>
      
      </tr>
  </table>
  </div>
  </form>
</html>
